package com.css.dynamic.annotation;

import com.css.dynamic.config.DynamicRouteConfiguration;
import org.springframework.context.annotation.Import;

import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Inherited;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * @author 郭辉
 * @date 2022/11/5
 * <p>
 * 开启 动态路由
 */
@Target({ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Inherited
@Import(DynamicRouteConfiguration.class)
public @interface EnableMassDynamicRoute {
}